package com.axjy.service;

import com.axjy.pojo.Logs;
import com.axjy.service.vo.Pager;

import java.util.List;

/**
 * Created by asus on 2018/3/13.
 */
public interface LogsService {
    /**
     * 添加日志
     * @param logs
     */
    public void addLogs(Logs logs);

    /**
     * 查询
     * @param userCode
     * @return
     */
    public List<Logs> search(String userCode);

    /**
     * 条件查询
     * @param userCode
     * @param startDate
     * @param endDate
     * @return
     */
    public List<Logs> getByDate(String userCode,String startDate,String endDate);
}
